<?php
include 'sql.php';
$arr=$_POST;
$sql='insert into advise (name,phone,content,time) values ("'.$arr['name'].'","'.$arr['phone'].'","'.$arr['content'].'",'.time().')';
SQL_query($sql);
?>
<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
		<link rel="stylesheet" type="text/css" href="../css/stylesheet.css">
		<title>华工权小益提案收集平台</title>
	</head>
	<body>
		<div class="header">
			<a href="../index.html"><img src="../img/newhead.jpg"></a>
		</div>
		<div class="clear"></div>
		<div class="raise">
            <span style="color:#ffffff;"><?php echo '<br>感谢您的建议~'?></span>
		</div>
		<div class="clear"></div>
		<div class="wholecori">
			<div class="copyright">
				<span>Copyright © 2017 华南理工大学学生会权益部</span>
			</div>
			<div class="copyright">
				<span>Power by 无线电爱好者协会信息部</span>
			</div>
		</div>
		<div class="clear"></div>
	</body>
</html>